package enity;

import java.nio.charset.StandardCharsets;

public class User {
    private String name;
    private Integer schoolId;

    public User(String name, Integer schoolId) {
        this.name = name;
        this.schoolId = schoolId;
    }

    public User() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", schoolId=" + schoolId +
                '}';
    }
}
